using System;
using System.Collections.Generic;
using Volo.Abp.Application.Dtos;
using System.ComponentModel.DataAnnotations;

namespace Business.AreaManagement.Dto
{
    public class AreaDto : EntityDto<Guid?>
    {
        
        /// <summary>
        /// 区域编码
        /// </summary>
        [Required]
        public string Code { get; set; }
        
        /// <summary>
        /// 父级
        /// </summary>
        public string PCode { get; set; }
        
        /// <summary>
        /// 区域名称
        /// </summary>
        [Required]
        public string Name { get; set; }
        
    }
}